<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>组织生活详情</title>
<meta name="decorator" content="default" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/static/css/bootstrap.css">
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/static/css/base.css">
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/static/css/common.css">
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/static/css/layout.css">
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/static/css/beyond.min.css" />
<style type="text/css">
.e-form input {
	padding: 5px 0 !important;
}
</style>
<script type="text/javascript">
	$(document).ready(
			function() {

				$("#inputForm")
						.validate(
								{
									submitHandler : function(form) {
										loading('正在提交，请稍等...');
										form.submit();
									},
									errorContainer : "#messageBox",
									errorPlacement : function(error, element) {
										$("#messageBox").text("输入有误，请先更正。");
										if (element.is(":checkbox")
												|| element.is(":radio")
												|| element.parent().is(
														".input-append")) {
											error.appendTo(element.parent()
													.parent());
										} else {
											error.insertAfter(element);
										}
									}
								});
			});
</script>
</head>
<body>
	<form:form id="inputForm" modelAttribute="organizeLife"
		action="${ctx}/life/organizeLifeJh/save" method="post"
		class="form-horizontal">
		<form:hidden path="id" />
		<sys:message content="${message}" />
		<div class="container">
			<div class="e-main" style="top: 0; bottom: 35px;">
				<div class="mian-box-content pb1">
					<div class="row margin-b10">
						<div class="col-xs-12">
							<div class="row-space">
								<div class="e-box float-e-margins  pb15">
									<div class="e-box-title">
										<h2>活动信息</h2>

										<div class="e-box-toolbar">
											<div class="btn-group">
												<button class="btn" data-toggle="modal"
													data-target="#modal-del">提交</button>
											</div>
										</div>

									</div>

									<div class="e-form pl15 pt15 form-item cler w-100per">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">年份选择 <span
												style="color: red;">*</span></span>
										</div>
										<div class="col-md-1">
											<form:select path="column24" class="input-medium">
												<form:options items="${listAssessmentTime}" itemLabel="year"
													itemValue="id" htmlEscape="false" />
											</form:select>
										</div>
										<div class="col-md-1 ml20 tr">
											<span class="form-item-name w-5xl lh32">所在组织</span>
										</div>
										<div class="col-md-5">
											<input type="text" class="w-100xl" value="${organization}"
												disabled />
										</div>
									</div>
									<div class="e-form pl15 pt15 form-item cler w-100per">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">活动名称 <span
												style="color: red;">*</span></span>
										</div>
										<div class="col-md-5">
											<input type="text" class="w-100xl" value="" />
										</div>
									</div>
									<div class="e-form pl15 pt15 form-item cler w-100per">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">活动起止时间 <span
												style="color: red;">*</span></span>
										</div>
										<div class="col-md-1">
											<input name="starttime" type="text" readonly="readonly"
												maxlength="20" class="input-medium Wdate required"
												value="<fmt:formatDate value="${organizeLife.starttime}" pattern="yyyy-MM-dd HH:mm"/>"
												onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',isShowClear:false});" />
										</div>
										<div class="col-md-1 ml30">
											<input name="endtime" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate required"
					value="<fmt:formatDate value="${organizeLife.endtime}" pattern="yyyy-MM-dd HH:mm"/>"
					onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',isShowClear:false});"/>	
										</div>
									</div>
									<div class="e-form pl15 pt15 form-item cler w-100per">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">活动地点 <span
												style="color: red;">*</span></span>
										</div>
										<div class="col-md-5">
											<input type="text" class="w-100xl" value="" />
										</div>
									</div>
									<div class="e-form pl15 pt15 form-item cler w-100per">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">活动内容 <span
												style="color: red;">*</span></span>
										</div>
										<div class="col-md-5">
											<form:textarea id="zycontent" htmlEscape="true" path="zycontent" rows="4" maxlength="200" class="input-xxlarge"/>
											<sys:ckeditor replace="zycontent" uploadPath="/life/personscore" />
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">资料照片：</label>
										<div class="controls">				
											<form:hidden id="yyzl" path="yyzl" htmlEscape="false" maxlength="255" class="input-xlarge"/>				
											<sys:ckfinder input="yyzl" type="images" uploadPath="/life/organizeLife" selectMultiple="true" maxWidth="100" maxHeight="100"/>												
										</div>			
									</div>
									<!-- <div class="e-form pl15 pt15 form-item cler w-100per">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">申请人</span>
										</div>
										<div class="col-md-5">
											<span class="form-item-name w-5xl lh32">张三 2017-08-11
												13：00</span>
										</div>
									</div> -->
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="mian-box-content pt1">
					<div class="row margin-b10">
						<div class="col-xs-12">
							<div class="row-space">
								<div class="e-box float-e-margins  pb15">
									<div class="e-box-title">
										<h2>党员织积分内容</h2>
										<div class="e-box-toolbar">
											<div class="btn-group">
												<button class="btn" data-toggle="modal"
													data-target="#modal-del">查看积分说明</button>
											</div>
										</div>
									</div>
									<div class="e-form pl15 form-item w-100per cler pt10 pb10">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">积分内容 <span
												style="color: red;">*</span></span>
										</div>
										<div class="col-md-9">
											<form:select path="personscoreid" class="input-medium">
												<form:options items="${listPersonAssessmentInfo}" itemLabel="title"
													itemValue="id" htmlEscape="false" />
											</form:select>
										</div>

									</div>
									<div class="form-item e-form w-100per pl15 cler divGroup">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">赋分方式 <span
												style="color: red;">*</span></span>
										</div>
										<div class="col-md-2 tr">
											<span class="form-item-name w-5xl lh32" style="float: left">
											${fns:getDictValue(${personAssessmentInfo.sourceType},'Score_mode')}</span>
										</div>
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">周期 <span
												style="color: red;">*</span></span>
										</div>
										<div class="col-md-2 tr">
											<span class="form-item-name w-5xl lh32" style="float: left">1次/当年</span>
										</div>
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">分值 </span>
										</div>
										<div class="col-md-1 tr">
											<input id="" type="text" placeholder="2">
										</div>
									</div>
									<div class="form-item e-form w-100per pl15 cler divGroup">
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">已申请次数 </span>
										</div>
										<div class="col-md-2 tr">
											<span class="form-item-name w-5xl lh32" style="float: left">3次</span>
										</div>
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">上限分值 </span>
										</div>
										<div class="col-md-2 tr">
											<span class="form-item-name w-5xl lh32" style="float: left">10分</span>
										</div>
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32">类型 </span>
										</div>
										<div class="col-md-1 tr">
											<span class="form-item-name w-5xl lh32" style="float: left">加分</span>
										</div>
									</div>
								</div>

							</div>
						</div>
					</div>
				</div>

				<div class="mian-box-content pt1">
					<div class="row margin-b10">
						<div class="col-xs-12">
							<div class="row-space">
								<div class="e-box float-e-margins  pb15">
									<div class="e-box-title">
										<h2>党员织积分明细</h2>
										<div class="e-box-toolbar">
											<div class="btn-group">
												<button class="btn" data-toggle="modal"
													data-target="#modal-del">导出Excel</button>
											</div>
										</div>
										<div class="e-box-toolbar">
											<div class="btn-group">
												<button class="btn" data-toggle="modal"
													data-target="#modal-del">编辑</button>
											</div>
										</div>
										<div class="e-box-toolbar">
											<div class="btn-group">
												<button class="btn" data-toggle="modal"
													data-target="#modal-del">新增</button>
											</div>
										</div>

									</div>
									<div class="e-box-content p-xs">
										<div id="tab8-2" class="tab-pane">
											<table class="e-table ">
												<thead>
													<tr>
														<th>姓名</th>
														<th>性别</th>
														<th class="tc">记录方式</th>
														<th class="tc">记录时间</th>
														<th>申请积分</th>
														<th>审核积分</th>
														<th class="tc">操作</th>

													</tr>
												</thead>
												<tbody>
													<tr>
														<td>宋宇飞</td>
														<td>男</td>
														<td class="tc">刷卡</td>
														<td class="tc">2015-02-03</td>
														<td>2</td>
														<td>0</td>
														<td style="text-align: center;"><a
															href="javascript:void(0);" onclick=""
															style="background: red; color: #FFF;"
															class="btn btn-default shiny ">删除</a></td>
													</tr>

												</tbody>
												<tbody>
													<tr>
														<td>宋宇飞</td>
														<td>男</td>
														<td class="tc">刷卡</td>
														<td class="tc">2015-02-03</td>
														<td>2</td>
														<td>0</td>
														<td style="text-align: center;"><a
															href="javascript:void(0);" onclick=""
															style="background: red; color: #FFF;"
															class="btn btn-default shiny ">删除</a></td>
													</tr>

												</tbody>

												<tbody>
													<tr>
														<td>宋宇飞</td>
														<td>男</td>
														<td class="tc">刷卡</td>
														<td class="tc">2015-02-03</td>
														<td>2</td>
														<td>0</td>
														<td style="text-align: center;"><a
															href="javascript:void(0);" onclick=""
															style="background: red; color: #FFF;"
															class="btn btn-default shiny ">删除</a></td>
													</tr>

												</tbody>

												<tbody>
													<tr>
														<td>宋宇飞</td>
														<td>男</td>
														<td class="tc">刷卡</td>
														<td class="tc">2015-02-03</td>
														<td>2</td>
														<td>0</td>
														<td style="text-align: center;"><a
															href="javascript:void(0);" onclick=""
															style="background: red; color: #FFF;"
															class="btn btn-default shiny ">删除</a></td>
													</tr>

												</tbody>
											</table>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

	</form:form>
	<script src="<%=request.getContextPath()%>/static/js/jquery-1.10.2.js"
		type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath()%>/static/js/bootstrap.min.js"
		type="text/javascript" charset="utf-8"></script>
</body>
</html>